
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>超市订单管理系统</title>
    <link type="text/css" rel="stylesheet" href="/static/css/style.css"/>
    <link type="text/css" rel="stylesheet" href="/static/css/public.css"/>
</head>
<body>
<div>
    <!--头部-->
    <header class="publicHeader">
        <h1>超市订单管理系统</h1>
        <div class="publicHeaderR">
            <p><span>下午好！</span><span style="color: #fff21b">admin</span> , 欢迎你！</p>
            <a href="/loginOut">退出</a>
        </div>
    </header>
    <!--时间-->
    <section class="publicTime">
        <span id="time">时间</span>
        <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！（IE10+）</a>
    </section>
</div>
<!--主体内容-->
<section class="publicMian">
    <!--左侧导航-->
    <div>
        <div class="left">
            <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
            <nav>
                <ul class="list">
                    <li><a href="#">订单管理</a></li>
                    <li><a href="#">供应商管理</a></li>
                    <li><a href="/templates/userlates/user/list.html">用户管理</a></li>
                    <li><a href="/templates/user/update/pwd">密码修改</a></li>
                    <li><a href="/loginOut">退出系统</a></li>
                </ul>
            </nav>
        </div>
    </div>
    <!--右侧内容-->
    <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>用户管理页面</span>
        </div>
        <div class="search">
            <form method="get" action="/templates/user/list">
                <span>用户名：</span>
                <input name="queryname" class="input-text" type="text"
                       value="">
                <span>用户角色：</span>
                <select name="queryUserRole">
                    <option value="0">--请选择--</option>
                    <option value="1">系统管理员
                    </option>
                    <option value="2">经理
                    </option>
                    <option value="3">普通员工
                    </option>
                </select>

                <input type="hidden" name="pageIndex" value="1"/>
                <input value="查 询" type="submit" id="searchbutton">
                <a href="/templates/user/add">添加用户</a>
            </form>
        </div>
        <!--用户-->
        <table class="providerTable" cellpadding="0" cellspacing="0">
            <tr class="firstTr">
                <th width="10%">用户编码</th>
                <th width="20%">用户名称</th>
                <th width="10%">性别</th>
                <th width="10%">年龄</th>
                <th width="10%">电话</th>
                <th width="10%">用户角色</th>
                <th width="30%">操作</th>
            </tr>
            <tr>
                <td>
                    <span>sunxing</span>
                </td>
                <td>
                    <span>孙兴</span>
                </td>
                <td>
                    <span>女</span></td>
                <td>
                    <span>43</span>
                </td>
                <td>
                    <span>13367890900</span>
                </td>
                <td>
                    <span>3</span>
                </td>
                <td>
                    <span><a class="viewUser" href="#"><img
                            src="/static/images/read.png" alt="查看" title="查看"/></a></span>
                    <span><img src="/static/images/xiugai.png" alt="修改" title="修改"/>
                    <a th:href="@{add}"/>
                    </span>
                    <span><a class="deleteUser" href="#"><img
                            src="/static/images/schu.png" alt="删除" title="删除"/></a></span>
                </td>
            </tr>
            <tr>
                <td>
                    <span>zhangchen</span>
                </td>
                <td>
                    <span>张晨</span>
                </td>
                <td>
                    <span>男</span></td>
                <td>
                    <span>35</span>
                </td>
                <td>
                    <span>18098765434</span>
                </td>
                <td>
                    <span>3</span>
                </td>
                <td>
                    <span><a class="viewUser" href="#"><img
                            src="/static/images/read.png" alt="查看" title="查看"/></a></span>
                    <span><a class="modifyUser" href="/templates/user/update/12"><img
                            src="/static/images/xiugai.png" alt="修改" title="修改"/></a></span>
                    <span><a class="deleteUser" href="#"><img
                            src="/static/images/schu.png" alt="删除" title="删除"/></a></span>
                </td>
            </tr>
            <tr>
                <td>
                    <span>dengchao</span>
                </td>
                <td>
                    <span>邓超</span>
                </td>
                <td>
                    <span>女</span></td>
                <td>
                    <span>40</span>
                </td>
                <td>
                    <span>13689674534</span>
                </td>
                <td>
                    <span>3</span>
                </td>
                <td>
                    <span><a class="viewUser" href="#"><img
                            src="/static/images/read.png" alt="查看" title="查看"/></a></span>
                    <span><a class="modifyUser" href="/templates/user/update/13"><img
                            src="/static/images/xiugai.png" alt="修改" title="修改"/></a></span>
                    <span><a class="deleteUser" href="#"><img
                            src="/static/images/schu.png" alt="删除" title="删除"/></a></span>
                </td>
            </tr>
            <tr>
                <td>
                    <span>zhaoyan</span>
                </td>
                <td>
                    <span>赵燕</span>
                </td>
                <td>
                    <span>男</span></td>
                <td>
                    <span>35</span>
                </td>
                <td>
                    <span>18098764545</span>
                </td>
                <td>
                    <span>3</span>
                </td>
                <td>
                    <span><a class="viewUser" href="#"><img
                            src="/static/images/read.png" alt="查看" title="查看"/></a></span>
                    <span><a class="modifyUser" href="/templates/user/update/8"><img
                            src="/static/images/xiugai.png" alt="修改" title="修改"/></a></span>
                    <span><a class="deleteUser" href="#"><img
                            src="/static/images/schu.png" alt="删除" title="删除"/></a></span>
                </td>
            </tr>
            <tr>
                <td>
                    <span>zhaomin</span>
                </td>
                <td>
                    <span>赵敏</span>
                </td>
                <td>
                    <span>男</span></td>
                <td>
                    <span>34</span>
                </td>
                <td>
                    <span>18099897657</span>
                </td>
                <td>
                    <span>2</span>
                </td>
                <td>
                    <span><a class="viewUser" href="#"><img
                            src="/static/images/read.png" alt="查看" title="查看"/></a></span>
                    <span><a class="modifyUser" href="/templates/user/update/15"><img
                            src="/static/images/xiugai.png" alt="修改" title="修改"/></a></span>
                    <span><a class="deleteUser" href="#"><img
                            src="/static/images/schu.png" alt="删除" title="删除"/></a></span>
                </td>
            </tr>
            <tr>
                <td>
                    <span>sunlei</span>
                </td>
                <td>
                    <span>孙磊</span>
                </td>
                <td>
                    <span>女</span></td>
                <td>
                    <span>40</span>
                </td>
                <td>
                    <span>13387676765</span>
                </td>
                <td>
                    <span>3</span>
                </td>
                <td>
                    <span><a class="viewUser" href="#"><img
                            src="/static/images/read.png" alt="查看" title="查看"/></a></span>
                    <span><a class="modifyUser" href="/templates/user/update/10"><img
                            src="/static/images/xiugai.png" alt="修改" title="修改"/></a></span>
                    <span><a class="deleteUser" href="#"><img
                            src="/static/images/schu.png" alt="删除" title="删除"/></a></span>
                </td>
            </tr>
            <tr>
                <td>
                    <span>yangguo</span>
                </td>
                <td>
                    <span>杨过</span>
                </td>
                <td>
                    <span>女</span></td>
                <td>
                    <span>41</span>
                </td>
                <td>
                    <span>13388886623</span>
                </td>
                <td>
                    <span>3</span>
                </td>
                <td>
                    <span><a class="viewUser" href="#"><img
                            src="/static/images/read.png" alt="查看" title="查看"/></a></span>
                    <span><a class="modifyUser" href="/templates/user/update/14"><img
                            src="/static/images/xiugai.png" alt="修改" title="修改"/></a></span>
                    <span><a class="deleteUser" href="#"><img
                            src="/static/images/schu.png" alt="删除" title="删除"/></a></span>
                </td>
            </tr>
            <tr>
                <td>
                    <span>hanlubiao</span>
                </td>
                <td>
                    <span>韩路彪</span>
                </td>
                <td>
                    <span>女</span></td>
                <td>
                    <span>37</span>
                </td>
                <td>
                    <span>18567542321</span>
                </td>
                <td>
                    <span>2</span>
                </td>
                <td>
                    <span><a class="viewUser" href="#"><img
                            src="/static/images/read.png" alt="查看" title="查看"/></a></span>
                    <span><a class="modifyUser" href="/templates/user/update/5"><img
                            src="/static/images/xiugai.png" alt="修改" title="修改"/></a></span>
                    <span><a class="deleteUser" href="#" ><img
                            src="/static/images/schu.png" alt="删除" title="删除"/></a></span>
                </td>
            </tr>
        </table>
        <!--分页组件-->
        <div class="page-bar">
    
    <input type="hidden" id="totalPageCount" value="2"/>
    <ul class="page-num-ul clearfix">
        <li>共12条记录  1/2页</li>
        
        
        <a href="javascript:page_nav(document.forms[0],2);">下一页</a>

        <a href="javascript:page_nav(document.forms[0],2);">最后一页</a>
    </ul>
    <span class="page-go-form"><label>跳转至</label>
	     <input type="text" name="inputPage" id="inputPage" class="page-key" value="1"/>页
	     <button type="button" class="page-btn"
                 onClick='jump_to(document.forms[0],document.getElementById("inputPage").value)'>GO</button>
		</span>
</div>
        <script type="text/javascript" src="/static/js/rollpage.js"></script>

    </div>
</section>
<div>
<footer class="footer">
    版权信息
</footer>
<script type="text/javascript" src="/static/js/time.js"></script>
<script type="text/javascript" src="/static/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="/static/js/common.js"></script>
<script type="text/javascript" src="/static/calendar/WdatePicker.js"></script>
</div>
<script type="text/javascript" src="/js/user.js"></script>
</body>
</html>